/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.mycompany.ingsoc2;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.sql.Statement;

/**
 *
 * @author sebastian
 */
public class ConnectionFactory {
    
    public Connection createConn(String URL) throws SQLException
    {
        Connection conexion=null;
        conexion = DriverManager.getConnection(URL, "SA", "");
        return conexion;
    }
    
}

